package com.Lyoto.NetNotify.Exceptions;

import com.Lyoto.NetNotify.Constraint.ExceptionEnum;

/**
 * @author Lyoto
 * @Description
 * @Date 2022-09-19 15:42
 * @Version
 **/
public class ConfigErrorException extends RuntimeException{
    /**
     *
     */
    long errorCode;
    /**
     *
     */
    String msg;
    
    public ConfigErrorException(ExceptionEnum exceptionEnum) {
        super(exceptionEnum.getMsg());
        this.errorCode = exceptionEnum.getErrorCode();
        this.msg = exceptionEnum.getMsg();
    }
    
}
